package cn.geminis.data.jpa.graphql.entity;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.OneToOne;

@Entity
@Getter
@Setter
public class LevelOne extends LevelOneBase {

    @OneToOne(fetch = FetchType.LAZY, cascade = CascadeType.ALL)
    private LevelOneData levelOneData;

}
